<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!--顶部导航开始-->
		<div id="global_nav">
			<div class="global_nav">
				<div class="global_info_left">
					<ul>
						<li><a href="http://localhost/handuyishe" class="returnIndex">返回首页</a></li>
						<li><a href="">收藏本站</a></li>
					</ul>
				</div>
				<div class="global_info_right">
					<ul class="reloZome">
						    <?php if(isset($_SESSION['email']) && isset($_SESSION['uid'])){ ?>
							<li><a href="<?php echo U('Login/out');?>">您好,<?php echo $hd['session']['email'];?>！</a></li>
							<li><a href="<?php echo U('Login/out');?>">退出</a></li>
						<?php }else{ ?>
							<li><a href="">您好，欢迎光临韩都衣舍！</a></li>
							<li><a href="<?php echo U('Login/login');?>">登录 </a></li>
							<li><a href="<?php echo U('Register/register');?>" class="info_red" target="_blank">注册</a></li>
						<?php } ?>
						<li><a href="">购物车</a></li>
						<li><a href="">|</a></li>
					</ul>
					<ul class="helpZome">
						<li><a href=""> 手机端   </a></li>
						<li><a href="" class="info_red">团购批发 </a></li>
						<li><a href="" >在线客服</a></li>
						<li><a href="">帮助中心</a></li>
						<li><a href=""><span class="navBg"></span>网站导航</a></li>
					</ul>
				</div>
			</div>
		</div>
		<!--顶部导航右边结束-->
		<!--头部开始-->
		<div id="header">
			<div class="headerTop">
				<div class="headerLogo">
					<a href=""></a>
					<a href=""></a>
				</div>
				<div class="headerSearch">
					<div class="searchForm">
						<form action="" method="post">
							<input type="text" name="" id="" class="text"/>
							<input type="submit" value="搜&nbsp;索"class="submit"/>
						</form>
					</div>
					<div class="hotWords">
					<a href="">休闲裤</a>
					<span>|</span>
					<a href="">休闲裤</a>
					<span>|</span>
					<a href="">休闲裤</a>
					<span>|</span>
					<a href="">休闲裤</a>
					<span>|</span>
					<a href="">休闲裤</a>
					<span>|</span>
					</div>
				</div>
				<div class="headerApp">
					<a href=""></a>
				</div>
				
				
			</div>
			<div class="header_bottom">
				<div class="header_complay">互联网时尚品牌运营集团
</div>			
				<div class="brand huadong">
					<input type="button" class="prev" id="prev" value="&lt;" />
					<input type="button" class="next" id="next"  value="&gt;" />
					<ul>
						<?php foreach ($brand as $k=>$v){?>
							<li><a href="" class="bandLogo"><img src="http://localhost/handuyishe/<?php echo $v['logo'];?>"/></a>$k</li>
							
						<?php }?>
					</ul>
				</div>
			</div>	
			</div>	
		</div>
		<!--头部结束-->
		<!--导航开始-->
		<div class="handu_nav">
  <div class="handu_menu ">
    <div class="all show_cate">
      <a class="all_text" href="http://www.handu.com/search.php?keywords=" target="_blank">全部商品分类<b></b></a>
      <div class="categoryBd" style="display: none;">
        <ul>
            <li class="item item1">
            	<h3 class="itemHd itemHd1">
              		<i></i>女装                            
              		<span class="itemIcon"></span>
            	</h3>
                <p class="itemCol itemCol_sp">                
                            <?php
        //初始化
        $hd['list']['nv'] = array(
            'first' => false,
            'last'  => false,
            'total' => 0,
            'index' => 0
        );
        if (empty($catenv)) {
            echo '';
        } else {
            $listId = 0;
            $listShowNum=0;
            $listNextId=0;
            foreach ($catenv as $nv) {
                //开始值
                if ($listId<0) {
                    $listId++;
                    continue;
                }
                //步长
                if($listId!=$listNextId){$listId++;continue;}
                //显示条数
                if($listShowNum>=4)break;
                //第几个值
                $hd['list'][nv]['index']++;
                //第1个值
                $hd['list'][nv]['first']=($listId == 0);
                //最后一个值
                $hd['list'][nv]['last']= (count($catenv)-1 <= $listId);
                //总数
                $hd['list'][nv]['total']++;
                //增加数
                $listId++;
                $listShowNum++;
                $listNextId+=1
                ?>
                    <a href="" target="_blank"     <?php if($hd['list']['nv']['first']){ ?>style="color: rgb(200, 10, 40); font-weight: bold;"<?php } ?>><?php echo $nv['cname'];?></a>
                   <?php }}?>
                    
              	</p>
              	<p class="itemCol">
              		        <?php
        //初始化
        $hd['list']['nv'] = array(
            'first' => false,
            'last'  => false,
            'total' => 0,
            'index' => 0
        );
        if (empty($catenv)) {
            echo '';
        } else {
            $listId = 0;
            $listShowNum=0;
            $listNextId=4;
            foreach ($catenv as $nv) {
                //开始值
                if ($listId<4) {
                    $listId++;
                    continue;
                }
                //步长
                if($listId!=$listNextId){$listId++;continue;}
                //显示条数
                if($listShowNum>=4)break;
                //第几个值
                $hd['list'][nv]['index']++;
                //第1个值
                $hd['list'][nv]['first']=($listId == 4);
                //最后一个值
                $hd['list'][nv]['last']= (count($catenv)-1 <= $listId);
                //总数
                $hd['list'][nv]['total']++;
                //增加数
                $listId++;
                $listShowNum++;
                $listNextId+=1
                ?>
                    <a href="" target="_blank" ><?php echo $nv['cname'];?></a>
                   <?php }}?>
                </p>
                <div class="subCategory" >
                    <div class="subView">
                  		<ul>
                            <li class="subItem">
                        		<h3 class="subItem_hd"><a href="http://www.handu.com/category-225-b0.html" target="_blank">女装</a></h3>
                          		<p class="subItem_cat">
                                    <?php foreach ($catenv as $k=>$v){?>
				                   	 	<a href="" target="_blank" ><?php echo $v['cname'];?></a>
				                    <?php }?>
								</p>
                        	</li>
                        </ul>
                	</div>
	                <div class="sub_logo">
	                    <h3> 韩都集团 旗下品牌: </h3>
				  		<?php foreach ($brand as $k=>$v){?>
				  			<a href="" class="bandLogo"><img src="http://localhost/handuyishe/<?php echo $v['logo'];?>"/></a>
						<?php }?>
				  	</div>
         		</div>
       	 	</li>
       	 	<li class="item item1">
            	<h3 class="itemHd itemHd1">
              		<i></i>女装                            
              		<span class="itemIcon"></span>
            	</h3>
                <p class="itemCol itemCol_sp">                
                            <?php
        //初始化
        $hd['list']['nv'] = array(
            'first' => false,
            'last'  => false,
            'total' => 0,
            'index' => 0
        );
        if (empty($catenv)) {
            echo '';
        } else {
            $listId = 0;
            $listShowNum=0;
            $listNextId=0;
            foreach ($catenv as $nv) {
                //开始值
                if ($listId<0) {
                    $listId++;
                    continue;
                }
                //步长
                if($listId!=$listNextId){$listId++;continue;}
                //显示条数
                if($listShowNum>=4)break;
                //第几个值
                $hd['list'][nv]['index']++;
                //第1个值
                $hd['list'][nv]['first']=($listId == 0);
                //最后一个值
                $hd['list'][nv]['last']= (count($catenv)-1 <= $listId);
                //总数
                $hd['list'][nv]['total']++;
                //增加数
                $listId++;
                $listShowNum++;
                $listNextId+=1
                ?>
                    <a href="" target="_blank"     <?php if($hd['list']['nv']['first']){ ?>style="color: rgb(200, 10, 40); font-weight: bold;"<?php } ?>><?php echo $nv['cname'];?></a>
                   <?php }}?>
                    
              	</p>
              	<p class="itemCol">
              		        <?php
        //初始化
        $hd['list']['nv'] = array(
            'first' => false,
            'last'  => false,
            'total' => 0,
            'index' => 0
        );
        if (empty($catenv)) {
            echo '';
        } else {
            $listId = 0;
            $listShowNum=0;
            $listNextId=4;
            foreach ($catenv as $nv) {
                //开始值
                if ($listId<4) {
                    $listId++;
                    continue;
                }
                //步长
                if($listId!=$listNextId){$listId++;continue;}
                //显示条数
                if($listShowNum>=4)break;
                //第几个值
                $hd['list'][nv]['index']++;
                //第1个值
                $hd['list'][nv]['first']=($listId == 4);
                //最后一个值
                $hd['list'][nv]['last']= (count($catenv)-1 <= $listId);
                //总数
                $hd['list'][nv]['total']++;
                //增加数
                $listId++;
                $listShowNum++;
                $listNextId+=1
                ?>
                    <a href="" target="_blank" ><?php echo $nv['cname'];?></a>
                   <?php }}?>
                </p>
                <div class="subCategory" >
                    <div class="subView">
                  		<ul>
                            <li class="subItem">
                        		<h3 class="subItem_hd"><a href="http://www.handu.com/category-225-b0.html" target="_blank">女装</a></h3>
                          		<p class="subItem_cat">
                                    <?php foreach ($catenv as $k=>$v){?>
				                   	 	<a href="" target="_blank" ><?php echo $v['cname'];?></a>
				                    <?php }?>
								</p>
                        	</li>
                        </ul>
                	</div>
	                <div class="sub_logo">
	                    <h3> 韩都集团 旗下品牌: </h3>
				  		<?php foreach ($brand as $k=>$v){?>
				  			<a href="" class="bandLogo"><img src="http://localhost/handuyishe/<?php echo $v['logo'];?>"/></a>
						<?php }?>
				  	</div>
         		</div>
       	 	</li>
       	 	<li class="item item1">
            	<h3 class="itemHd itemHd1">
              		<i></i>女装                            
              		<span class="itemIcon"></span>
            	</h3>
                <p class="itemCol itemCol_sp">                
                            <?php
        //初始化
        $hd['list']['nv'] = array(
            'first' => false,
            'last'  => false,
            'total' => 0,
            'index' => 0
        );
        if (empty($catenv)) {
            echo '';
        } else {
            $listId = 0;
            $listShowNum=0;
            $listNextId=0;
            foreach ($catenv as $nv) {
                //开始值
                if ($listId<0) {
                    $listId++;
                    continue;
                }
                //步长
                if($listId!=$listNextId){$listId++;continue;}
                //显示条数
                if($listShowNum>=4)break;
                //第几个值
                $hd['list'][nv]['index']++;
                //第1个值
                $hd['list'][nv]['first']=($listId == 0);
                //最后一个值
                $hd['list'][nv]['last']= (count($catenv)-1 <= $listId);
                //总数
                $hd['list'][nv]['total']++;
                //增加数
                $listId++;
                $listShowNum++;
                $listNextId+=1
                ?>
                    <a href="" target="_blank"     <?php if($hd['list']['nv']['first']){ ?>style="color: rgb(200, 10, 40); font-weight: bold;"<?php } ?>><?php echo $nv['cname'];?></a>
                   <?php }}?>
                    
              	</p>
              	<p class="itemCol">
              		        <?php
        //初始化
        $hd['list']['nv'] = array(
            'first' => false,
            'last'  => false,
            'total' => 0,
            'index' => 0
        );
        if (empty($catenv)) {
            echo '';
        } else {
            $listId = 0;
            $listShowNum=0;
            $listNextId=4;
            foreach ($catenv as $nv) {
                //开始值
                if ($listId<4) {
                    $listId++;
                    continue;
                }
                //步长
                if($listId!=$listNextId){$listId++;continue;}
                //显示条数
                if($listShowNum>=4)break;
                //第几个值
                $hd['list'][nv]['index']++;
                //第1个值
                $hd['list'][nv]['first']=($listId == 4);
                //最后一个值
                $hd['list'][nv]['last']= (count($catenv)-1 <= $listId);
                //总数
                $hd['list'][nv]['total']++;
                //增加数
                $listId++;
                $listShowNum++;
                $listNextId+=1
                ?>
                    <a href="" target="_blank" ><?php echo $nv['cname'];?></a>
                   <?php }}?>
                </p>
                <div class="subCategory" >
                    <div class="subView">
                  		<ul>
                            <li class="subItem">
                        		<h3 class="subItem_hd"><a href="http://www.handu.com/category-225-b0.html" target="_blank">女装</a></h3>
                          		<p class="subItem_cat">
                                    <?php foreach ($catenv as $k=>$v){?>
				                   	 	<a href="" target="_blank" ><?php echo $v['cname'];?></a>
				                    <?php }?>
								</p>
                        	</li>
                        </ul>
                	</div>
	                <div class="sub_logo">
	                    <h3> 韩都集团 旗下品牌: </h3>
				  		<?php foreach ($brand as $k=>$v){?>
				  			<a href="" class="bandLogo"><img src="http://localhost/handuyishe/<?php echo $v['logo'];?>"/></a>
						<?php }?>
				  	</div>
         		</div>
       	 	</li>
       	 	<li class="item item1">
            	<h3 class="itemHd itemHd1">
              		<i></i>女装                            
              		<span class="itemIcon"></span>
            	</h3>
                <p class="itemCol itemCol_sp">                
                            <?php
        //初始化
        $hd['list']['nv'] = array(
            'first' => false,
            'last'  => false,
            'total' => 0,
            'index' => 0
        );
        if (empty($catenv)) {
            echo '';
        } else {
            $listId = 0;
            $listShowNum=0;
            $listNextId=0;
            foreach ($catenv as $nv) {
                //开始值
                if ($listId<0) {
                    $listId++;
                    continue;
                }
                //步长
                if($listId!=$listNextId){$listId++;continue;}
                //显示条数
                if($listShowNum>=4)break;
                //第几个值
                $hd['list'][nv]['index']++;
                //第1个值
                $hd['list'][nv]['first']=($listId == 0);
                //最后一个值
                $hd['list'][nv]['last']= (count($catenv)-1 <= $listId);
                //总数
                $hd['list'][nv]['total']++;
                //增加数
                $listId++;
                $listShowNum++;
                $listNextId+=1
                ?>
                    <a href="" target="_blank"     <?php if($hd['list']['nv']['first']){ ?>style="color: rgb(200, 10, 40); font-weight: bold;"<?php } ?>><?php echo $nv['cname'];?></a>
                   <?php }}?>
                    
              	</p>
              	<p class="itemCol">
              		        <?php
        //初始化
        $hd['list']['nv'] = array(
            'first' => false,
            'last'  => false,
            'total' => 0,
            'index' => 0
        );
        if (empty($catenv)) {
            echo '';
        } else {
            $listId = 0;
            $listShowNum=0;
            $listNextId=4;
            foreach ($catenv as $nv) {
                //开始值
                if ($listId<4) {
                    $listId++;
                    continue;
                }
                //步长
                if($listId!=$listNextId){$listId++;continue;}
                //显示条数
                if($listShowNum>=4)break;
                //第几个值
                $hd['list'][nv]['index']++;
                //第1个值
                $hd['list'][nv]['first']=($listId == 4);
                //最后一个值
                $hd['list'][nv]['last']= (count($catenv)-1 <= $listId);
                //总数
                $hd['list'][nv]['total']++;
                //增加数
                $listId++;
                $listShowNum++;
                $listNextId+=1
                ?>
                    <a href="" target="_blank" ><?php echo $nv['cname'];?></a>
                   <?php }}?>
                </p>
                <div class="subCategory" >
                    <div class="subView">
                  		<ul>
                            <li class="subItem">
                        		<h3 class="subItem_hd"><a href="http://www.handu.com/category-225-b0.html" target="_blank">女装</a></h3>
                          		<p class="subItem_cat">
                                    <?php foreach ($catenv as $k=>$v){?>
				                   	 	<a href="" target="_blank" ><?php echo $v['cname'];?></a>
				                    <?php }?>
								</p>
                        	</li>
                        </ul>
                	</div>
	                <div class="sub_logo">
	                    <h3> 韩都集团 旗下品牌: </h3>
				  		<?php foreach ($brand as $k=>$v){?>
				  			<a href="" class="bandLogo"><img src="http://localhost/handuyishe/<?php echo $v['logo'];?>"/></a>
						<?php }?>
				  	</div>
         		</div>
       	 	</li>
          	<li class="item item5 spe_item">
            	<h3 class="itemHd itemHd5">
              		<i></i>鞋子                              
              		<a href="" target="_blank">新品热搜</a>
                    <span class="itemIcon"></span>
            	</h3>
             	<div class="subCategory" >
                 	<div class="sub_item">
               			<h3 class="subItem_hd">
                  			<a href="" target="_blank">鞋子</a>
                		</h3>
                		<p class="subItem_cat">
                    		<a href="" target="_blank">单鞋</a>
                		</p>   
              		</div>
	              	<div class="sub_logo">
	                    <h3> 韩都集团 旗下品牌: </h3>
				 		<?php foreach ($brand as $k=>$v){?>
				  			<a href="" class="bandLogo"><img src="http://localhost/handuyishe/<?php echo $v['logo'];?>"/></a>
						<?php }?>
				  	</div>
          		</div>
          	</li>
          	<li class="item item5 spe_item">
            	<h3 class="itemHd itemHd5">
              		<i></i>鞋子                              
              		<a href="" target="_blank">新品热搜</a>
                    <span class="itemIcon"></span>
            	</h3>
             	<div class="subCategory" >
                 	<div class="sub_item">
               			<h3 class="subItem_hd">
                  			<a href="" target="_blank">鞋子</a>
                		</h3>
                		<p class="subItem_cat">
                    		<a href="" target="_blank">单鞋</a>
                		</p>   
              		</div>
	              	<div class="sub_logo">
	                    <h3> 韩都集团 旗下品牌: </h3>
				 		<?php foreach ($brand as $k=>$v){?>
				  			<a href="" class="bandLogo"><img src="http://localhost/handuyishe/<?php echo $v['logo'];?>"/></a>
						<?php }?>
				  	</div>
          		</div>
          	</li>
          	<li class="item item5 spe_item">
            	<h3 class="itemHd itemHd5">
              		<i></i>鞋子                              
              		<a href="" target="_blank">新品热搜</a>
                    <span class="itemIcon"></span>
            	</h3>
             	<div class="subCategory" >
                 	<div class="sub_item">
               			<h3 class="subItem_hd">
                  			<a href="" target="_blank">鞋子</a>
                		</h3>
                		<p class="subItem_cat">
                    		<a href="" target="_blank">单鞋</a>
                		</p>   
              		</div>
	              	<div class="sub_logo">
	                    <h3> 韩都集团 旗下品牌: </h3>
				 		<?php foreach ($brand as $k=>$v){?>
				  			<a href="" class="bandLogo"><img src="http://localhost/handuyishe/<?php echo $v['logo'];?>"/></a>
						<?php }?>
				  	</div>
          		</div>
          	</li>
       </ul>
   
      </div> 
    </div>
    <ul class="handu_menu_o ">
        <li class="menu_item">
        	<a target="_blank" href="">首页</a>
        </li>
        <?php foreach ($topCate as $k=>$v){?>
        <li class="menu_item">
        	<a target="_blank" href="<?php echo U('List/index',array('cid'=>$v['cid']));?>"><?php echo $v['cname'];?></a>
        </li>
        <?php }?>
      	<li class="menu_item fr" onmouseover="zixun('hdzx', 'show');" onmouseout="zixun('hdzx', 'hide');" style="height:35px; display:inline-block;position: relative;">
        	<a target="_blank" href=""><b></b>韩都资讯 
	        <div style="display: none;" class="zix" id="hdzx">
	          <ul>
	              <li style="border-bottom:#a20621 1px solid;"><a href="" target="_blank">品牌故事</a></li>
	          </ul>
	        </div>      
      	</li>
    </ul>
</div>
		<!--导航结束-->